package ${package}.${moduleName}.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.*;
import javax.persistence.*;
import com.sft360.ssc.sjzz.framework.model.BaseModel;

<#list importList as i>
import ${i!};
</#list>
<#if baseClass??>
import ${baseClass.packageName}.${baseClass.code};
</#if>

/**
 * ${tableComment}
 *
 * @author ${author} ${email}
 * @since ${version} ${date}
 */
<#if baseClass??>@EqualsAndHashCode(callSuper=false)</#if>
@Data
@Entity
@Table(name="${tableName}")
@ApiModel(value = "${tableComment}")
public class ${ClassName}Entity extends BaseModel {
<#list fieldList as field>
<#if !field.baseField>
	<#if field.fieldComment!?length gt 0>
	/**
	* ${field.fieldComment}
	*/
	@ApiModelProperty(value = "${field.fieldComment}")
	</#if>
	private ${field.attrType} ${field.attrName};
</#if>
</#list>
}